package com.sleepcamel.resteasyConfigurator.components.tree.strategies;

import com.sleepcamel.resteasyConfigurator.components.tree.ITreeContentStrategy;
import com.sleepcamel.resteasyConfigurator.components.tree.ITreeLabelStrategy;

public enum ETreeStrategy {
	PACKAGE(PackageTreeContentStrategy.class, PackageTreeLabelStrategy.class),
	PUBLISH(PublishTreeContentStrategy.class, PublishTreeLabelStrategy.class);

	private Class<? extends ITreeLabelStrategy> labelStrategy;
	private Class<? extends ITreeContentStrategy> contentStrategy;

	private ETreeStrategy(Class<? extends ITreeContentStrategy> contentStrategy, Class<? extends ITreeLabelStrategy> labelStrategy) {
		this.contentStrategy = contentStrategy;
		this.labelStrategy = labelStrategy;
	}

	public Class<? extends ITreeContentStrategy> getContentStrategy() {
		return contentStrategy;
	}

	public Class<? extends ITreeLabelStrategy> getLabelStrategy() {
		return labelStrategy;
	}

}
